package com.lajiaomian.springbootruijiwaimai.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lajiaomian.springbootruijiwaimai.pojo.Orders;
import org.springframework.data.domain.Sort;

import java.time.LocalDateTime;

/**
 * @author lajiaomian
 * @create 2022-08-15-21:26
 */
public interface OrdersService extends IService<Orders> {
    //展示分页信息
    Page<Orders> getPage(Integer page, Integer pageSize, String number, String beginTime, String endTime);
    //展示用户订单分页信息
    Page<Orders> getUserPage(Integer page,Integer pageSize,Long userId);
    //提交订单
    void submit(Orders orders);
}
